<template>
    <IFrame v-if="!loading" v-loading="loading" :src="src" />
</template>
<script lang="ts" setup>
import * as ConfigApi from '@/api/infra/config'

defineOptions({ name: 'InfraAgent' })

const loading = ref(true) // 是否加载中
const src = ref('http://8.130.66.117:8080/viso/index.html')

/** 初始化 */
onMounted(async () => {
  try {
    //console.log(src)
  } finally {
    loading.value = false
  }
})
</script>
